/*
 * CCIS
 * (C) Copyright Code MZ, Ltd. 2014,  All Rights Reserved.
 */
package com.beetlestech.nfe.main.biz.com.dto;


/**
 *Biz DTO
 *
 * History
 * REV.         Updated Date           Updater              Infomation
 * -------      ---------------        ----------------     ------------------
 * 1.0          2014/11/30             TOOL                 Create
*
 */
@com.beetlestech.nfe.fw.core.type.AliasKanJi("")
public class TeacherReplyDTO implements java.io.Serializable, Comparable<TeacherReplyDTO> {

	private static final long serialVersionUID = 1L;

	private Integer historyid = null;

	private Integer homeworkid = null;

	private Integer senderid = null;

	private Integer receiverid = null;

	private Integer fileid = null;

	private String message = null;

	private java.sql.Date lastdate = null;

	private java.sql.Time lasttime = null;
	
	private String homeTitle = null;
	
	private String stuName = null;

	public Integer gethistoryid() {
		return this.historyid;
	}

	public void sethistoryid(
			Integer historyid) {
		this.historyid = historyid;
	}

	public Integer gethomeworkid() {
		return this.homeworkid;
	}

	public void sethomeworkid(
			Integer homeworkid) {
		this.homeworkid = homeworkid;
	}

	public Integer getsenderid() {
		return this.senderid;
	}

	public void setsenderid(
			Integer senderid) {
		this.senderid = senderid;
	}

	public Integer getreceiverid() {
		return this.receiverid;
	}

	public void setreceiverid(
			Integer receiverid) {
		this.receiverid = receiverid;
	}

	public Integer getfileid() {
		return this.fileid;
	}

	public void setfileid(
			Integer fileid) {
		this.fileid = fileid;
	}

	public String getmessage() {
		return this.message;
	}

	public void setmessage(
			String message) {
		this.message = message;
	}

	public java.sql.Date getlastdate() {
		return this.lastdate;
	}

	public void setlastdate(
			java.sql.Date lastdate) {
		this.lastdate = lastdate;
	}

	public java.sql.Time getlasttime() {
		return this.lasttime;
	}

	public void setlasttime(
			java.sql.Time lasttime) {
		this.lasttime = lasttime;
	}
	
	public String getHomeTitle() {
		return homeTitle;
	}

	public void setHomeTitle(String homeTitle) {
		this.homeTitle = homeTitle;
	}

	public String getStuName() {
		return stuName;
	}

	public void setStuName(String stuName) {
		this.stuName = stuName;
	}

	/* (non-Javadoc)
     * @see java.lang.Comparable#compareTo(java.lang.Object)
     */
    @Override
    public int compareTo(
			TeacherReplyDTO compareToDTO) {
        return this.equals(compareToDTO) ? 0 : -1;
    }
}

